Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Passfilt.dll

Passfilt.dll

Scheduled Pinned Locked Moved C / C++ / MFC
c++combeta-testinghelptutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Joe Herbert
    wrote on last edited by
    #1

    Hey guyz, I'm new here. I'm working on rewriting our company's password procedures. Dictionary base and such. All of the actual code for word lookup and such is done. It's now time for me to figure out a way to implement it in a DLL. I've decide to go the way of this example[^]. I've created the dll in VC but I get a massive list of errors which are the following: Compiling... StdAfx.cpp Compiling... beta.cpp H:\code_project\beta\beta.cpp(39) : error C2143: syntax error : missing ';' before '__stdcall' H:\code_project\beta\beta.cpp(39) : error C2501: 'NTSTATUS' : missing storage-class or type specifiers H:\code_project\beta\beta.cpp(41) : error C2065: 'PUNICODE_STRING' : undeclared identifier H:\code_project\beta\beta.cpp(41) : error C2146: syntax error : missing ')' before identifier 'UserName' H:\code_project\beta\beta.cpp(41) : warning C4229: anachronism used : modifiers on data are ignored H:\code_project\beta\beta.cpp(41) : error C2501: 'PasswordChangeNotify' : missing storage-class or type specifiers H:\code_project\beta\beta.cpp(44) : error C2059: syntax error : ')' H:\code_project\beta\beta.cpp(64) : error C2143: syntax error : missing ';' before '{' H:\code_project\beta\beta.cpp(64) : error C2447: missing function header (old-style formal list?) H:\code_project\beta\beta.cpp(96) : error C2146: syntax error : missing ')' before identifier 'UserName' H:\code_project\beta\beta.cpp(96) : warning C4229: anachronism used : modifiers on data are ignored H:\code_project\beta\beta.cpp(100) : error C2059: syntax error : ')' H:\code_project\beta\beta.cpp(127) : error C2143: syntax error : missing ';' before '{' H:\code_project\beta\beta.cpp(127) : error C2447: missing function header (old-style formal list?) Error executing cl.exe. beta.dll - 12 error(s), 2 warning(s) What's up with NTSTATUS giving me errors? Ne ideas? --------------------------------- I'm new here, pardon the n00bing ---------------------------------

    PJ ArendsP G 2 Replies Last reply
    0
    • J Joe Herbert

      Hey guyz, I'm new here. I'm working on rewriting our company's password procedures. Dictionary base and such. All of the actual code for word lookup and such is done. It's now time for me to figure out a way to implement it in a DLL. I've decide to go the way of this example[^]. I've created the dll in VC but I get a massive list of errors which are the following: Compiling... StdAfx.cpp Compiling... beta.cpp H:\code_project\beta\beta.cpp(39) : error C2143: syntax error : missing ';' before '__stdcall' H:\code_project\beta\beta.cpp(39) : error C2501: 'NTSTATUS' : missing storage-class or type specifiers H:\code_project\beta\beta.cpp(41) : error C2065: 'PUNICODE_STRING' : undeclared identifier H:\code_project\beta\beta.cpp(41) : error C2146: syntax error : missing ')' before identifier 'UserName' H:\code_project\beta\beta.cpp(41) : warning C4229: anachronism used : modifiers on data are ignored H:\code_project\beta\beta.cpp(41) : error C2501: 'PasswordChangeNotify' : missing storage-class or type specifiers H:\code_project\beta\beta.cpp(44) : error C2059: syntax error : ')' H:\code_project\beta\beta.cpp(64) : error C2143: syntax error : missing ';' before '{' H:\code_project\beta\beta.cpp(64) : error C2447: missing function header (old-style formal list?) H:\code_project\beta\beta.cpp(96) : error C2146: syntax error : missing ')' before identifier 'UserName' H:\code_project\beta\beta.cpp(96) : warning C4229: anachronism used : modifiers on data are ignored H:\code_project\beta\beta.cpp(100) : error C2059: syntax error : ')' H:\code_project\beta\beta.cpp(127) : error C2143: syntax error : missing ';' before '{' H:\code_project\beta\beta.cpp(127) : error C2447: missing function header (old-style formal list?) Error executing cl.exe. beta.dll - 12 error(s), 2 warning(s) What's up with NTSTATUS giving me errors? Ne ideas? --------------------------------- I'm new here, pardon the n00bing ---------------------------------

      PJ ArendsP Offline
      PJ ArendsP Offline
      PJ Arends
      wrote on last edited by
      #2

      Just a wild guess, but it looks to me like a missing semicolon ( possibly in a header file ). Hard to tell for sure without seeing the code.


      CPUA 0x5041 Sonork 100.11743 Chicken Little "So it can now be written in stone as a testament to humanities achievments "PJ did Pi at CP"." Colin Davies Within you lies the power for good - Use it!

      Within you lies the power for good; Use it!

      1 Reply Last reply
      0
      • J Joe Herbert

        Hey guyz, I'm new here. I'm working on rewriting our company's password procedures. Dictionary base and such. All of the actual code for word lookup and such is done. It's now time for me to figure out a way to implement it in a DLL. I've decide to go the way of this example[^]. I've created the dll in VC but I get a massive list of errors which are the following: Compiling... StdAfx.cpp Compiling... beta.cpp H:\code_project\beta\beta.cpp(39) : error C2143: syntax error : missing ';' before '__stdcall' H:\code_project\beta\beta.cpp(39) : error C2501: 'NTSTATUS' : missing storage-class or type specifiers H:\code_project\beta\beta.cpp(41) : error C2065: 'PUNICODE_STRING' : undeclared identifier H:\code_project\beta\beta.cpp(41) : error C2146: syntax error : missing ')' before identifier 'UserName' H:\code_project\beta\beta.cpp(41) : warning C4229: anachronism used : modifiers on data are ignored H:\code_project\beta\beta.cpp(41) : error C2501: 'PasswordChangeNotify' : missing storage-class or type specifiers H:\code_project\beta\beta.cpp(44) : error C2059: syntax error : ')' H:\code_project\beta\beta.cpp(64) : error C2143: syntax error : missing ';' before '{' H:\code_project\beta\beta.cpp(64) : error C2447: missing function header (old-style formal list?) H:\code_project\beta\beta.cpp(96) : error C2146: syntax error : missing ')' before identifier 'UserName' H:\code_project\beta\beta.cpp(96) : warning C4229: anachronism used : modifiers on data are ignored H:\code_project\beta\beta.cpp(100) : error C2059: syntax error : ')' H:\code_project\beta\beta.cpp(127) : error C2143: syntax error : missing ';' before '{' H:\code_project\beta\beta.cpp(127) : error C2447: missing function header (old-style formal list?) Error executing cl.exe. beta.dll - 12 error(s), 2 warning(s) What's up with NTSTATUS giving me errors? Ne ideas? --------------------------------- I'm new here, pardon the n00bing ---------------------------------

        G Offline
        G Offline
        Gary R Wheeler
        wrote on last edited by
        #3

        Sometimes the compiler issues C2143 (the 1st error in your output) in lieu of saying it couldn't recognize the preceding identifier. If that's the case, you're missing an #include file somewhere. "NTSTATUS" and "PUNICODE_STRING" look like items from windows.h, so I would check that you've included it, and properly defined things like WINVER to get the definitions you need. Gary R. Wheeler

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups