Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 606437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T17:15:15+00:00 2026-05-13T17:15:15+00:00

I am trying to compile a program that is created from Visual Studio 8,

  • 0

I am trying to compile a program that is created from Visual Studio 8, converted it to Visual Studio 9. After giving all the required .DLL, .lib, and #include directories, I successfully compiled the program. However, when I tried to launch it, it always give out an error:

The procedure entry point SwapBuffers could not be located in the dynamic link library OpenGL32.DLL.

I checked my directories. OpenGL32.DLL does exist! I even download OpenGL32.dll again in case, mine is an old version; nope, it doesn’t work. I even tried putting OpenGL32.dll right beside the built .exe. Nope, it still gives out the same error.

Do you appear to know what are some of the possible causes here?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T17:15:15+00:00Added an answer on May 13, 2026 at 5:15 pm

    Looks like SwapBuffers functions simply isn’t there. Do you get a warning on compile time about undefined references or such?

    Try exploring the dll with a proper tool to view export tables and look for the function – se if it’s there (google gave me this: DLL Export Viewer)

    You could also try loading it dynamicly like this:

    HMODULE lib = LoadLibraryA("OpenGL32.DLL");
    FARPROC WINAPI proc = GetProcAddress(lib, "SwapBuffers");
    
    if (!proc)
       printf("SwapBuffers() not found\n");
    

    Be careful calling the function pointer proc directly without knowing the calling convention used in the dll (probably stdcall) or your stack might get malaligned.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to compile an example program that links to the shared library produced
I am trying to compile java files from a java program using org.apache.tools.ant.taskdefs.Javac and
I'm currently trying to get a program to compile on a system that I
I am trying to create a program to copy all the files from one
I'm having a problem when trying to compile the program in this tutorial from
I am trying to compile a C program through a javacode. I did it
I am trying to compile my C program in Ubuntu 9.10 (gcc 4.4.1). I
when I'm trying to compile my c program it gives me this error warning:
I'm trying to compile this simple program to start learning how to use timers:
I'm trying to compile the following program: #include<functional> #include<iostream> int main(int argc, char* argv[],

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.