Menu

DLL example and DLLs in general

Compiling
2013-06-06
2013-06-13
  • CommonTater

    CommonTater - 2013-06-06

    Has anyone had any luck compiling the sample DLL from the new project dialog?
    Has anyone had any luck compiling dlls with Orwell's DEV-CPP at all?

    I keep getting the same error every time...
    [Warning] cannot find entry symbol DllMainCRTStartup; defaulting to 000000006c441000

    Then ld exits with code 1.

     

    Last edit: CommonTater 2013-06-06
  • deconf

    deconf - 2013-06-13

    yes, i too have this problem
    my is 5.4.2 but i tryed 5.3 as well
    the problem is that dev-c excludes that when doing dlltool
    take a look to your .def file when it is generated (by default automatically)
    also the DllMain routine as shown when decompiled with IDA shows only ret instruction.
    the real routine is in dll but not referenced

    i have overcome the warning message by using 32bit, not 64
    but the DllMain is still not called
    if you will have any succes please report here, same with me

     

    Last edit: deconf 2013-06-13

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.